package com.xydtech.ecard.custgroup.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xydtech.common.annotation.Excel;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 电子名片社团组织任务对象 ecard_customer_organize_task
 *
 * @author yuzhiguo
 * @date 2024-11-29 下午1:19
 */
public class EcardApiCustomerOrganizeTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 社团组织ID */
    @Excel(name = "社团组织ID")
    private Long organizeId;

    /** 办理人注册ID */
    @Excel(name = "办理人注册ID")
    private Long cmRegistId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    /** 任务截止日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务截止日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 任务状态，0待处理 1已完成 2超时完成 */
    @Excel(name = "任务状态，0待处理 1已完成 2超时完成")
    private String taskSts;

    /** 创建人机构ID */
    private Long deptId;

    /** 法人机构ID */
    private Long corpId;

    /** 状态值 */
    private String stsName;
    /** 社团组织名称 */
    private String organizeName;
    /** 地图地址 */
    private String organizeAddress;
    /** 坐标 */
    private String organizeCoordinate;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setOrganizeId(Long organizeId)
    {
        this.organizeId = organizeId;
    }

    public Long getOrganizeId()
    {
        return organizeId;
    }
    public void setCmRegistId(Long cmRegistId)
    {
        this.cmRegistId = cmRegistId;
    }

    public Long getCmRegistId()
    {
        return cmRegistId;
    }
    public void setCreationTime(Date creationTime)
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime()
    {
        return creationTime;
    }
    public void setFinishTime(Date finishTime)
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime()
    {
        return finishTime;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setTaskSts(String taskSts)
    {
        this.taskSts = taskSts;
    }

    public String getTaskSts()
    {
        return taskSts;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getCorpId() {
        return corpId;
    }

    public void setCorpId(Long corpId) {
        this.corpId = corpId;
    }

    public String getStsName() {
        return stsName;
    }

    public void setStsName(String stsName) {
        this.stsName = stsName;
    }

    public String getOrganizeName() {
        return organizeName;
    }

    public void setOrganizeName(String organizeName) {
        this.organizeName = organizeName;
    }

    public String getOrganizeAddress() {
        return organizeAddress;
    }

    public void setOrganizeAddress(String organizeAddress) {
        this.organizeAddress = organizeAddress;
    }

    public String getOrganizeCoordinate() {
        return organizeCoordinate;
    }

    public void setOrganizeCoordinate(String organizeCoordinate) {
        this.organizeCoordinate = organizeCoordinate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("organizeId", getOrganizeId())
                .append("cmRegistId", getCmRegistId())
                .append("creationTime", getCreationTime())
                .append("finishTime", getFinishTime())
                .append("endDate", getEndDate())
                .append("taskSts", getTaskSts())
                .append("deptId", getDeptId())
                .append("corpId", getCorpId())
                .append("stsName", getStsName())
                .append("organizeName", getOrganizeName())
                .append("organizeAddress", getOrganizeAddress())
                .append("organizeCoordinate", getOrganizeCoordinate())
                .toString();
    }
}
